-
-
Notifications
You must be signed in to change notification settings - Fork 195
Londonl May-2025lping wanglCoursework/sprint 1 #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
const last4Digits = cardNumber.toString.slice(-4); | ||
|
||
//then conver to number | ||
const last4Digits = Number(cardNumber.toString.slice(-4)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defining last4Digits as a constant twice will fail
// The right coe should be: | ||
|
||
const TwelveHourClockTime = "8:53" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "8:53", you can do "08:53". Its good practice to always pad 12-hour formats with a zero to the left
Self checklist
After i did study prep for sprint 1 and also spent nearly two weeks for whole python, i started to do coursework and sometimes i did use chatgpt help me if i stuck with questions
Ask any questions you have for your reviewer.